package com.wyl.condition.query;

import com.fasterxml.jackson.annotation.JsonSubTypes;
import com.fasterxml.jackson.annotation.JsonTypeInfo;

/**
 * 数据过滤条件，支持逻辑组合嵌套
 */
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, property = "type", visible = true)
@JsonSubTypes({
        @JsonSubTypes.Type(value = ConditionGroup.class, name = "group"),
//        @JsonSubTypes.Type(value = PortalConditionBasicValue.class, name = "basicValue"),
        @JsonSubTypes.Type(value = ConditionValue.class, name = "value")
})
public interface Condition {
}
